package com.wzdigit.wms.wms.client.response.inv.count;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 盘点单头返回实体类
 * Created by zyf on 2021/10/8 16:53
 */
@Data
public class CountHeaderResponse {
    @ApiModelProperty(value = "盘点单头ID")
    private BigDecimal headerId;

    @ApiModelProperty(value = "盘点单号")
    private String countNo;

    @ApiModelProperty(value = "盘点单名称")
    private String countName;

    //盘点单类型
    private Integer countType;

    @ApiModelProperty(value = "盘点类型")
    private String countTypeStr;

    //盘点单状态
    private Integer headerStatus;

    @ApiModelProperty(value = "状态")
    private String headerStatusStr;

    @ApiModelProperty(value = "盘点日期")
    private Date countDate;

    private String resonCode;

    @ApiModelProperty(value = "原因")
    private String reson;

    @ApiModelProperty(value = "原因描述")
    private String resonDesc;

    @ApiModelProperty(value = "盘点结果")
    private String result;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "货主")
    private String owner;

    @ApiModelProperty(value = "仓库")
    private String whsName;

    @ApiModelProperty(value = "指定盘点人")
    private String countUser;

    @ApiModelProperty(value = "备注")
    private String comments;

    @DateTimeFormat("yyyyMMdd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @DateTimeFormat("yyyyMMdd")
    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "修改人")
    private String modifyUser;

    @DateTimeFormat("yyyyMMdd")
    @ApiModelProperty(value = "审核时间")
    private Date approveTime;

    @ApiModelProperty(value = "审核人")
    private String approveUser;

    //审核意见
    private Integer aprResult;

    @ApiModelProperty(value = "审核意见")
    private String aprResultStr;

    @ApiModelProperty(value = "结果审核时间")
    private Date resultAprTime;

    @ApiModelProperty(value = "结果审核人")
    private String resultAprUser;

    private Integer resultInt;


}
